<?php Yii::app()->clientScript->registerScriptFile(bu() .'/js/node_cloning.js'); ?>
<?php
$tag_level = isset($tag_level) ? $tag_level : 1;
$only_delete = isset($only_delete) ? $only_delete : '';
?>

<span class="nowrap">
<?php if ( $only_delete != "Y" ) : ?>
	<?php if ( !isset($hide_add) || !$hide_add ) : ?>
		<img width="13" border="0" align="top" height="18" class="hand" onclick="$('#box_' + this.id).cloneNode(<?php echo $tag_level ?>); " title="Thêm" alt="Thêm" id="<?php echo $item_id ?>" name="add" src="<?php echo bu() ?>/images/icons/icon_add.gif">
	<?php endif; ?>

	<?php if ( !isset($hide_clone) || !$hide_clone ) : ?>
		<img width="13" border="0" align="top" height="18" class="hand" onclick="$('#box_' + this.id).cloneNode(<?php echo $tag_level ?>, true);" alt="Copy" title="Copy" id="<?php echo $item_id ?>" name="clone" src="<?php echo bu() ?>/images/icons/icon_clone.gif">
	<?php endif; ?>
<?php endif; ?>
<img width="12" border="0" align="top" height="18" class="hand" title="Xóa" alt="Xóa" id="<?php echo $item_id ?>" name="remove" src="<?php echo bu() ?>/images/icons/icon_delete_disabled.gif">
<img width="12" border="0" align="top" height="18" class="hand hidden cm-delete-row" title="Xóa" alt="Xóa" id="<?php echo $item_id ?>" name="remove_hidden" src="<?php echo bu() ?>/images/icons/icon_delete.gif">


&nbsp;</span>